<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>隐私设置 - AI 智享生活管家</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
    <link href="../css/custom.css" rel="stylesheet">
</head>
<body class="bg-gray-50">
    <!-- 状态栏 -->
    <div class="status-bar">
        <img src="../images/status-bar.png" alt="状态栏" class="w-full h-full object-cover">
    </div>

    <!-- 内容区域 -->
    <div class="content-area">
        <!-- 顶部导航 -->
        <nav class="px-4 py-2 flex items-center border-b">
            <a href="profile.html" class="text-gray-600">
                <i class="fas fa-chevron-left text-xl"></i>
            </a>
            <h1 class="flex-1 text-center font-semibold">隐私设置</h1>
        </nav>

        <!-- 隐私设置列表 -->
        <div class="mt-4">
            <!-- 账号安全 -->
            <div class="bg-white mb-4">
                <div class="p-4 border-b flex items-center justify-between">
                    <div class="flex items-center">
                        <span>修改密码</span>
                    </div>
                    <i class="fas fa-chevron-right text-gray-400"></i>
                </div>
                <div class="p-4 border-b flex items-center justify-between">
                    <div class="flex items-center">
                        <span>两步验证</span>
                    </div>
                    <div class="relative">
                        <input type="checkbox" class="sr-only" id="2fa">
                        <div class="w-14 h-7 bg-gray-200 rounded-full"></div>
                        <div class="dot absolute left-1 top-1 bg-white w-5 h-5 rounded-full transition"></div>
                    </div>
                </div>
            </div>

            <!-- 数据隐私 -->
            <div class="bg-white mb-4">
                <div class="p-4 border-b flex items-center justify-between">
                    <div class="flex items-center">
                        <span>数据收集</span>
                    </div>
                    <div class="relative">
                        <input type="checkbox" class="sr-only" id="data-collection">
                        <div class="w-14 h-7 bg-blue-500 rounded-full"></div>
                        <div class="dot absolute left-8 top-1 bg-white w-5 h-5 rounded-full transition"></div>
                    </div>
                </div>
                <div class="p-4 border-b flex items-center justify-between">
                    <div class="flex items-center">
                        <span>隐私报告</span>
                    </div>
                    <i class="fas fa-chevron-right text-gray-400"></i>
                </div>
                <div class="p-4">
                    <button class="w-full text-center text-red-500">
                        清除所有数据
                    </button>
                </div>
            </div>

            <!-- 隐私政策 -->
            <div class="bg-white">
                <div class="p-4 border-b">
                    <a href="#" class="block text-blue-500">
                        查看隐私政策
                    </a>
                </div>
            </div>
        </div>
    </div>
</body>
</html> 
